package com.carpedil.smvc.service;

import com.carpedil.smvc.dao.PermissionsMapper;
import com.carpedil.smvc.po.Permissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/** @author Administrator */
@Service("permissionService")
public class PermissionsServiceImpl implements PermissionsService {
  @Autowired private PermissionsMapper permissionsMapper;

  @Override
  public List<Permissions> finPermissionsByUser(String userName) {
    return permissionsMapper.finPermissionsByUser(userName);
  }
}
